package com.jumi.microservice.dto.pdd;

import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author scw
 * @date 2021/1/7
 */
public class PddCpsUserInfoResponse extends BaseResponse {
    @ApiModelProperty("access_token")
    private String accessToken;
    @ApiModelProperty("access_token过期时间段，10（表示10秒后过期）")
    private Integer expiresIn;
    @ApiModelProperty("商家店铺id")
    private String ownerId;
    @ApiModelProperty("商家账号名称")
    private String ownerName;
    @ApiModelProperty("refresh token，可用来刷新access_token")
    private String refreshToken;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }
}
